﻿using System.Runtime.Serialization;

namespace StreetPacMan.Server.Facade
{
    [DataContract]
    public class ClientApple
    {
        public ClientApple(int appleId, AppleKind kind, double lat, double lng)
        {
            EntityId = appleId;
            Kind = kind;
            Lat = lat;
            Lng = lng;
        }

        [DataMember]
        public int EntityId { get; private set; }
        [DataMember]
        public AppleKind Kind { get; private set; }
        [DataMember]
        public double Lat { get; private set; }
        [DataMember]
        public double Lng { get; private set; }
    }
}